<template>
	<text class="gy-icon" :class="props.name" :style="{color: props.color, fontSize: props.size + 'rpx'}"></text>
</template>

<script lang="ts" setup>

    const props = defineProps({
    	name: {
    		type: String
    	},
    	size: {
    		type: Number,
    		default: 32
    	},
    	color: {
    		type: String,
    		default: "#333333"
    	}
    });
	
</script>